package com.cgbl.cg.vm.work

import android.app.Application
import com.robot.base.base.vm.GLBaseViewModel
import me.goldze.mvvmhabit.bus.event.SingleLiveEvent

class WorksListViewModel(application: Application) : GLBaseViewModel(application) {
    val uc = UiChangeEvent()

    class UiChangeEvent {
        val tabData: SingleLiveEvent<ArrayList<String>> = SingleLiveEvent()
    }

    fun initData() {
        uc.tabData.postValue(arrayListOf("总榜", "3D建模", "场景美术", "动漫设计", "游戏设计", "游戏开发"))
    }
}